package com.demo.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.demo.utils.model.BaseEntityPlus;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 学生信息表
 * </p>
 *
 * @author wu
 * @since 2025-06-20 14:06:18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("do_user")
@Schema(name = "User", description = "学生信息表")
public class User extends BaseEntityPlus {

    private static final long serialVersionUID = 1L;

    @Schema(description = "学生id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "学生名字")
    private String name;

    @Schema(description = "学生年纪")
    private Integer age;

    @Schema(description = "学生出生地")
    private String address;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "号码位数")
    private String password;
}
